package com.me.forum.request;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public final class PlateRequest extends BaseRequest {
    private String name;
    private String view;

    private String categoryId;
    private String[] userIds;

    @Override
    public Boolean isLegal() {
        return name != null && !name.isEmpty();
    }
}
